//
//  GSConnectionDialog.h
//  AgileNYC
//
//  Created by German on 11.06.14.
//  Copyright (c) 2014 Softlegion. All rights reserved.
//

#import <Foundation/Foundation.h>

#if !APPLE_STANDARD
    #import "URBAlertView.h"

    typedef void(^URBHandlerBlock)(NSInteger buttonIndex, URBAlertView *alertView);
#endif

typedef void(^GSConnectionDialogCompletionBlock)(NSInteger buttonIndex, NSString * returnText);
typedef void(^GSRequestDialogCompletionBlock)(NSInteger buttonIndex);
typedef void(^GSErrorDialogCompletionBlock)(void);

@interface SGSDialogsManager : NSObject

+(SGSDialogsManager*) dialogsManager;

-(void) showConnectionDialog:(NSString*) textIntoField
        onComplete:(GSConnectionDialogCompletionBlock) completetionBlock;

-(void) showRequestDialog:(NSString*) requesterName
               onComplete:(GSRequestDialogCompletionBlock) completetionBlock;

-(void) showSimpleDialog:(NSString*) title message:(NSString*) message
               onComplete:(GSErrorDialogCompletionBlock) completetionBlock;

/*-(void) showInfoDialog:(NSString*) infoText
             onComplete:(GSErrorDialogCompletionBlock) completetionBlock;*/

@end
